<template>
  <div>
    <div class="all">
      <router-view />
    </div>
    <van-tabbar route active-color="#ee0a24" inactive-color="#000">
      <van-tabbar-item replace to="/index" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/course" icon="search">课程</van-tabbar-item>
      <van-tabbar-item replace to="/record" icon="home-o"
        >约课记录</van-tabbar-item
      >
      <van-tabbar-item replace to="/practice" icon="search"
        >联系</van-tabbar-item
      >
      <van-tabbar-item replace to="/my" icon="search">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "HelloWorld",
  components: {},
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.all {
  margin-bottom: 1.33333rem;
}
</style>
